DOMDebuggerDomain

class DOMDebuggerDomain : Domain

DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript execution will stop on these operations as if there was a regular breakpoint set.

Functions

description
Link copied to clipboard
fun description(): String
Returns domain description.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
getEventListeners
Link copied to clipboard
fun getEventListeners(input: GetEventListenersRequest): Single<GetEventListenersResponse>
Returns event listeners of the given object.
name
Link copied to clipboard
fun name(): String
Returns domain name.
removeDOMBreakpoint
Link copied to clipboard
fun removeDOMBreakpoint(input: RemoveDOMBreakpointRequest): Single<RequestResponseFrame>
Removes DOM breakpoint that was set using setDOMBreakpoint.
removeEventListenerBreakpoint
Link copied to clipboard
Removes breakpoint on particular DOM event.
removeInstrumentationBreakpoint
Link copied to clipboard
Removes breakpoint on particular native event.
removeXHRBreakpoint
Link copied to clipboard
fun removeXHRBreakpoint(input: RemoveXHRBreakpointRequest): Single<RequestResponseFrame>
Removes breakpoint from XMLHttpRequest.
setBreakOnCSPViolation
Link copied to clipboard
fun setBreakOnCSPViolation(input: SetBreakOnCSPViolationRequest): Single<RequestResponseFrame>
Sets breakpoint on particular CSP violations.
setDOMBreakpoint
Link copied to clipboard
fun setDOMBreakpoint(input: SetDOMBreakpointRequest): Single<RequestResponseFrame>
Sets breakpoint on particular operation with DOM.
setEventListenerBreakpoint
Link copied to clipboard
Sets breakpoint on particular DOM event.
setInstrumentationBreakpoint
Link copied to clipboard
Sets breakpoint on particular native event.
setXHRBreakpoint
Link copied to clipboard
fun setXHRBreakpoint(input: SetXHRBreakpointRequest): Single<RequestResponseFrame>
Sets breakpoint on XMLHttpRequest.

Sources

jvm source
Link copied to clipboard